Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

Previous | Chapter Top | Chapter Contents | Next |

Functions for Importing MIDI Files

This section describes functions you use to control the importation of MIDI files.

MIDIImportGetSettings

You use the MIDIImportGetSettings function to get settings that control the importation of MIDI files.

pascal ComponentResult MIDIImportGetSettings (
                     TextExportComponent ci,
                     long *setting);
ci
Specifies the instance of the text export component used to import a MIDI file. Your software obtains this reference when calling the Component Manager's OpenComponent or OpenDefaultComponent function.
setting
Flags that control the importation of MIDI files. These flags are described in "MIDI File Import Flags" .

DISCUSSION

The flags correspond to the checkboxes in the MIDI Import Options dialog box.

RESULT CODES

To be provided.

MIDIImportSetSettings

You use the MIDIImportGetSettings function to set settings that control the importation of MIDI files.

pascal ComponentResult MIDIImportSetSettings (
                     TextExportComponent ci,
                     long setting);
ci
Specifies the instance of the text export component used to import a MIDI file. Your software obtains this reference when calling the Component Manager's OpenComponent or OpenDefaultComponent function.
setting
Flags that control the importation of MIDI files. These flags are described in "MIDI File Import Flags" .

DISCUSSION

The flags correspond to the checkboxes in the MIDI Import Options dialog box.

RESULT CODES

To be provided.


© 1999 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next